<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>基础选择器</title>
    <style>
        /* 标签选择器：写上标签名 */
        p {
            color: green;
        }
        div {
            color: pink;
        }
        .red {
            background-color: red;
        }
        .green {
            background-color: green;
        }
        .oh-my-god {
            background: gold;
        }
        .box {
            width: 100px;
            height: 100px;
            font-size: 30px;
        }
        #red {
            color: pink;
        }
        * {
            padding: 0;
            margin: 0;
        }
    </style>
</head>
<body>
    <p>男生</p>
    <p>男生</p>
    <p>男生</p>
    <div>女生</div>
    <div>女生</div>
    <div class="red oh-my-god">女生</div>
    <h4>准备盒子</h4>
    <div class="red box">哈哈</div>
    <div class="green box">哈哈哈哈</div>
    <div class="red box">哈哈哈哈哈哈</div>

    <div id="red">迈克尔 杰克逊</div>


</body>
</html>